package cn.momoshenchi.service;

import cn.momoshenchi.pojo.MatchUserHistory;
import cn.momoshenchi.vo.SearchVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.IOException;
import java.lang.reflect.InvocationTargetException;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/6/21 - 8:20
 */
public interface SearchService  extends IService<SearchVo>
{
    /**
     * 通过es搜索,返回搜索结果
     * @param keyword
     * @return SearchVo
     */
      SearchVo searchArticleAndBook (String keyword) throws IOException, InvocationTargetException, IllegalAccessException;
}

